$(function() {
	
	$.ajax({
		type: "get",
		url: "serviceFacilityInfo",
		async: true,
		success: function(result) {
			
			console.log(result);
			var msg = "";
			$.each(result.list,function(key,value){
				
				msg +="<tr>"+
					"<td>" + key + "</td>"+
					"<td>" + value.facilityName + "</td>" +
					"<td>" + value.chargeCategory + "</td>" +
					"<td>" + value.limitTheScopeOfUse + "</td>" +
					"<td>" + value.remark + "</td>"+
					"</tr>";
			})
			$("#facility").append(msg);
		},error: function() {
			alert("请求发生错误");
		}
	});
})